import request from '@/utils/request'
//查询
export function personList(data) {
	return request({
		url: '/body/part/list',
		method: 'get',
		params: data
	})
}

//新增
export function addPersonbw(data) {
	return request({
		url: '/body/part/add',
		method: 'post',
		data
	})
}

// 修改人体部位



export function updataPersonbw(data) {
	return request({
		url: '/body/part/update/mark',
		method: 'POST',
		data
	})
}

// 获取标记点部位
export function getParts(data) {
	return request({
		url: '/stu/side/body/parts',
		method: 'get',
		params: data
	})
}


// 删除标记点部位
export function delParts(data) {
	return request({
		url: '/body/part/delete',
		method: 'DELETE',
		params: data
	})
}
// 修改标记点名称
export function upBjname(data) {
	return request({
		url: '/body/part/update',
		method: 'POST',
		data
	})
}